package com.jingdianjichi.subject.application.config;

import com.jingdianjichi.subject.application.Interceptor.FeignInterceptor;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * FeignConfiguration 类
 *
 * @author 熊苏鹏1
 * @date 2025/3/11 12:53
 * @description
 */
@Configuration
public class FeignConfiguration {
    @Bean
    public RequestInterceptor requestInterceptor() {
        return new FeignInterceptor();
    }
}
